<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.js"></script>

</head>
<body>
    <script>
    // axios.get('http://39.96.21.48:5588/customer/findAll').then((re)=>{
    //     console.log(re.data.data)
    // }
    // )

    async function findAll(){
        let res = await axios.get('http://39.96.21.48:5588/customer/findAll')
        console.log(res.data.data[0],id);
        let obj = {cusId:res.data.data[0].id}
        findComment(obj)
    }
    findAll();
async function findComment(obj){
    
}
    </script>
</body>
</html>